package com.skyline.attraction.model;

import java.util.Date;

import com.skyline.base.type.Activity;
import com.skyline.common.util.CommonUtils;

public class AttractionInvitation {

	private long id;
	private long owerId; //邀请人的ID
	private long fanId;//粉丝的ID
	private String fanNickname; //粉丝的昵称
	private String fanPortait; //粉丝的头像
	private long spotId; //目的地
	private String spotName; //目的地名称
	private String content; //内容
	private Date invitingTime;//发出该邀请的时间 
	private Date appointmentTime; //预约时间
	private Activity activity; //'NORMAL','FROZEN','DELETED','UNDELETABLE'
	
	
	public long getOwerId() {
		return owerId;
	}
	public void setOwerId(long owerId) {
		this.owerId = owerId;
	}
	public long getFanId() {
		return fanId;
	}
	public void setFanId(long fanId) {
		this.fanId = fanId;
	}
	public String getFanNickname() {
		return fanNickname;
	}
	public void setFanNickname(String fanNickname) {
		this.fanNickname = fanNickname;
	}
	public String getFanPortait() {
		return fanPortait;
	}
	public void setFanPortait(String fanPortait) {
		this.fanPortait = fanPortait;
	}
	public long getSpotId() {
		return spotId;
	}
	public void setSpotId(long spotId) {
		this.spotId = spotId;
	}
	public String getSpotName() {
		return spotName;
	}
	public void setSpotName(String spotName) {
		this.spotName = spotName;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Date getInvitingTime() {
		return CommonUtils.cloneDate(invitingTime);
	}
	public void setInvitingTime(Date invitingTime) {
		this.invitingTime = CommonUtils.cloneDate(invitingTime);
	}
	public Activity getActivity() {
		return activity;
	}
	public void setActivity(Activity activity) {
		this.activity = activity;
	}
	public void setAppointmentTime(Date appointmentTime) {
		this.appointmentTime = CommonUtils.cloneDate(appointmentTime);
	}
	public Date getAppointmentTime() {
		return CommonUtils.cloneDate(appointmentTime);
	}
	public void setId(long id) {
		this.id = id;
	}
	public long getId() {
		return id;
	}
	
}
